<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
   
    <!-- Custom styles for this template -->
    <link href="/static/css/signin.css" rel="stylesheet">
    
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style>
        body{
        background-size:100%;
    }
    </style>
</head>
<body background="/static/images/10.jpg">
    <div class="dropdown">
        
        <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
          <li role="presentation">
            <a role="menuitem" tabindex="-1" href="/login/">登录</a>
          </li>
          <li role="presentation">
            <a role="menuitem" tabindex="-1" href="/shouye/">返回首页</a>
          </li>
        </ul>
      </div>
    <h1>
        <p style="text-align:center">管理员注册</p>
    </h1>
    <center>
    <form action="" method="post">
        {% csrf_token %}
        <p style="text-align:center">用户：<input name='username' type="text" id="inputEmail" class="form-control" placeholder="name" required autofocus></p>
        
        <p style="text-align:center">密码：<input name='pwd' type="password" id="inputPassword" class="form-control" placeholder="Password" required></p>
        <p style="text-align:center"> <input type="submit" value="注册" />

          <p style="color: #ff0000;text-align: center">{{error_name}}</p>

</form>

</body>
</html>